package com.vo;

import com.dto.UserDTO;
import lombok.Data;
import java.time.LocalDateTime;

@Data
public class NotificationVO {
    private Integer id;
    private String type; // LIKE / FOLLOW / COMMENT / REPLY
    private String content; // 通知文字内容
    private Integer sourceId; // 相关资源ID
    private Integer targetId; // 目标ID（如笔记ID，用于跳转）
    private UserDTO relatedUser; // 操作发起者的用户信息
    private Boolean isRead;
    private LocalDateTime createdAt;
}